<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_goods_activity`;");
E_C("CREATE TABLE `ecs_goods_activity` (
  `act_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `act_name` varchar(255) NOT NULL,
  `act_desc` text NOT NULL,
  `act_type` tinyint(3) unsigned NOT NULL,
  `goods_id` mediumint(8) unsigned NOT NULL,
  `product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `goods_name` varchar(255) NOT NULL,
  `start_time` int(10) unsigned NOT NULL,
  `end_time` int(10) unsigned NOT NULL,
  `is_finished` tinyint(3) unsigned NOT NULL,
  `ext_info` text NOT NULL,
  PRIMARY KEY (`act_id`),
  KEY `act_name` (`act_name`,`act_type`,`goods_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8");
E_D("replace into `ecs_goods_activity` values('1','周末享好礼','','4','0','0','','1411368300','1445582700','0','a:1:{s:13:\"package_price\";s:3:\"369\";}');");
E_D("replace into `ecs_goods_activity` values('2','优惠套餐2','','4','0','0','','1411454820','1477205220','0','a:1:{s:13:\"package_price\";s:4:\"1299\";}');");
E_D("replace into `ecs_goods_activity` values('3','水清梦兰 2014秋季女装新款修身纯色棉麻防嗮宽松长袖衬衫女','','1','2','0','水清梦兰 2014秋季女装新款修身纯色棉麻防嗮宽松长袖衬衫女','1414425600','1414857600','0','a:4:{s:12:\"price_ladder\";a:2:{i:0;a:2:{s:6:\"amount\";i:10;s:5:\"price\";d:100;}i:1;a:2:{s:6:\"amount\";i:50;s:5:\"price\";d:98;}}s:15:\"restrict_amount\";i:1000;s:13:\"gift_integral\";i:0;s:7:\"deposit\";d:100000;}');");
E_D("replace into `ecs_goods_activity` values('4','as公司高管的','使得法国三顿饭个','0','1','28','68测试示范商品','1416976860','1417581660','0','a:4:{s:11:\"start_price\";s:4:\"1.00\";s:9:\"end_price\";s:6:\"800.00\";s:9:\"max_price\";i:0;s:11:\"cost_points\";s:1:\"1\";}');");

require("../../inc/footer.php");
?>